﻿using MediatR;
using SmartCity.ProcessEngine.API.Read.DTO;
using SmartCity.ProcessEngine.Errorcode;

namespace SmartCity.ProcessEngine.API.Read.Application.Commands.FormTypes
{
    /// <summary>
    /// 表单分类查询命令
    /// </summary>
    public class FormTypeQueryCommand:IRequest<ApiResult<ApiPaging<FormTypeDto>>>
    {
        /// <summary>
        /// 行业编号
        /// </summary>
        public int IndustryId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页
        /// </summary>
        public int PageSize { get; set; }
    }
}
